package com.edais.service;

import java.util.Map;

import org.springframework.context.annotation.Scope;
import org.springframework.stereotype.Service;

import com.edais.domain.UserChannelPoint;

@Service

public interface UserChannelPointService {
	
	/**
	 * 获取用户渠道等级积分数据
	 * @param parm
	 * @return
	 * @throws Exception
	 */
	public UserChannelPoint findChannelPointByParm(Map<String,Object> parm) throws Exception;
	
	/**
	 * 增加用户渠道等级积分数据
	 * @param userChannelPoint
	 * @throws Exception
	 */
	public void addChannelPoint(UserChannelPoint userChannelPoint) throws Exception;
	
	/**
	 * 更新用户渠道等级积分数据
	 * @param userChannelPoint
	 * @return
	 * @throws Exception
	 */
	public int updateChannelPoint(UserChannelPoint userChannelPoint) throws Exception;
}
